package Test;

import java.util.ArrayList;
import java.util.List;

public class Test {
	
	public static void main(String[] args) {
		String year="2017-05-12";
		System.out.println(year.substring(0, 7));;
	}

}
